#ifndef _EBN_CONDITION_H_
#define _EBN_CONDITION_H_

#include <vector>
#include "EbnProposition.h"
#include "EbnLink.h"

using namespace std;

class CEbnWorldState;

class CEbnCondition : public CEbnProposition
{
public:
    CEbnCondition(CEbnWorldState * worldState, bool positiveCondition = false);
    ~CEbnCondition(void);

    CEbnProposition * getProposition();

    bool hasNestLink(CEbnLink * pLink);
    void addNestLink(CEbnLink * pLink);

private:
    vector<CEbnLink *> mNestLinkList;

};

#endif
